<template>
  <el-container style=" solid #eee">
    <el-container>
      <el-header class="employtabletitle">
        <el-col :span="19"
          ><span>可转正人员信息表</span></el-col
        >
      </el-header>

      <employ-user-table
        :tableData="tableData"
      ></employ-user-table>
    </el-container>
  </el-container>
</template>

  <script>
import EmployUserTable from "./EmployUserTable.vue";

export default {
  components: {
    EmployUserTable,
  },

  data() {
    return {
      // table所需数据
      tableData: [], // 总数据
    };
  },

  created() {
    this.getEmployUser();
  },

  methods: {
    //  同步数据

    //获得人员信息
    async getEmployUser() {
      this.$axios
        .post("api/member/getemployuser")
        .then((response) => {
          this.tableData = response.data;
        })
        .catch(function (error) {
          console.log(error);
        });
    },


  },
};
</script>

  <style scoped>
.employtabletitle {
  max-height: 30px;
  font-size: 25px;
  color: #1D8CE0;
}
.el-aside {
  height: 85vh;
}
</style>
